App({
  onLaunch: function () {
    console.log('App Launch')
  },
  onShow: function () {
    console.log('App Show'),
    wx.showShareMenu({

      withShareTicket:true,
      
      menus:['shareAppMessage','shareTimeline']
      
      })
  },
  onHide: function () {
    console.log('App Hide')
  },
  globalData: {
    hasLogin: false,
    cartdata:[],
    cartTotalNum:0
  },
  onShareAppMessage() {return { title: '厨星宝电器', imageUrl: '/image/厨星宝电器.jpg', path: 'page/component/index' }}
})
